<template>
  <div class="demo-input">
    <tiny-input v-model="input" mask disabled></tiny-input>
    <tiny-input v-model="input" mask display-only></tiny-input>
  </div>
</template>

<script>
import { TinyInput } from '@opentiny/vue'

export default {
  components: {
    TinyInput
  },
  data() {
    return {
      input: '文字过长时会显示点点点，并且鼠标悬浮出现tip'
    }
  }
}
</script>

<style scoped>
.demo-input {
  width: 150px;
}
</style>
